<script>
function closeWin()
{
	var win = window.opener || window.parent || window.top || window;
	win.$.closePanel();
}
</script>
<div style="text-align:center ">

  <form id="form1" name="form1" method="post" action="post.php">
  <table border="0" cellpadding="3" cellspacing="3" style="margin:0 auto;" >
  <tr>
    <td><label>Username</label>
      :</td>
    <td><input name="Username" type="text" size="20"></td>

  </tr>
  <tr>
    <td><label>Password</label>

      :</td>
    <td><input name="Password" type="text" size="20"></td>
  </tr>
  <tr align="right">

    <td colspan="2"><input type="submit" id="Login" value="&nbsp;&nbsp;Login&nbsp;&nbsp;">&nbsp;<input type="button" id="Login" value="&nbsp;&nbsp;Cancel&nbsp;&nbsp;" onclick="closeWin()"></td>
    </tr>
</table>
  </form>

</div>
